function Cat(name, color) {
    this.name = name;
    this.color = color;
    this.type = '猫科动物';

}
Cat.prototype.eat = function() { alert('吃老鼠'); }
Cat.prototype.type = '猫科动物'